/**
 * 2016，thor.com，all rights reserved。
 * 
 * Project：		palmmall-spi
 * Filename：	SDevice.java
 * Created：		2016年8月21日
 * Creator：		wolv
 */
package com.thor.palmmall.spi.device;

import java.util.ArrayList;
import java.util.List;

import com.thor.commons.entity.KV;
import com.thor.commons.entity.UCN;
import com.thor.palmmall.spi.common.SPermGroupStandardEntity;

/**
 * @author wolv
 *
 */
public class SDevice extends SPermGroupStandardEntity {
  private static final long serialVersionUID = -443345650785400256L;

  private String code;
  private String name;
  private SDeviceState state;
  private UCN store;
  private UCN category;
  private String position;
  private String remark;
  private List<KV> properties = new ArrayList<KV>();

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public SDeviceState getState() {
    return state;
  }

  public void setState(SDeviceState state) {
    this.state = state;
  }

  public UCN getStore() {
    return store;
  }

  public void setStore(UCN store) {
    this.store = store;
  }

  public UCN getCategory() {
    return category;
  }

  public void setCategory(UCN category) {
    this.category = category;
  }

  public String getPosition() {
    return position;
  }

  public void setPosition(String position) {
    this.position = position;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public List<KV> getProperties() {
    return properties;
  }

  public void setProperties(List<KV> properties) {
    this.properties = properties;
  }
}
